package org.aswing.tree;

extern class AbstractLayoutCache implements RowMapper {
	function new() : Void;
	function getBounds(p0 : TreePath, p1 : org.aswing.geom.IntRectangle) : org.aswing.geom.IntRectangle;
	function getExpandedState(p0 : TreePath) : Bool;
	function getModel() : TreeModel;
	function getNodeDimensions() : NodeDimensions;
	function getPathClosestTo(p0 : Int, p1 : Int) : TreePath;
	function getPathForRow(p0 : Int) : TreePath;
	function getPreferredHeight() : Int;
	function getPreferredWidth(p0 : org.aswing.geom.IntRectangle) : Int;
	function getRowContainingYLocation(p0 : Int) : Int;
	function getRowCount() : Int;
	function getRowForPath(p0 : TreePath) : Int;
	function getRowHeight() : Int;
	function getRowsForPaths(p0 : Array<Dynamic>) : Array<Dynamic>;
	function getSelectionModel() : TreeSelectionModel;
	function getVisibleChildCount(p0 : TreePath) : Int;
	function getVisiblePathsFrom(p0 : TreePath, p1 : Int) : Array<Dynamic>;
	function invalidatePathBounds(p0 : TreePath) : Void;
	function invalidateSizes() : Void;
	function isExpanded(p0 : TreePath) : Bool;
	function isRootVisible() : Bool;
	function setExpandedState(p0 : TreePath, p1 : Bool) : Void;
	function setModel(p0 : TreeModel) : Void;
	function setNodeDimensions(p0 : NodeDimensions) : Void;
	function setRootVisible(p0 : Bool) : Void;
	function setRowHeight(p0 : Int) : Void;
	function setSelectionModel(p0 : TreeSelectionModel) : Void;
	function treeNodesChanged(p0 : org.aswing.event.TreeModelEvent) : Void;
	function treeNodesInserted(p0 : org.aswing.event.TreeModelEvent) : Void;
	function treeNodesRemoved(p0 : org.aswing.event.TreeModelEvent) : Void;
	function treeStructureChanged(p0 : org.aswing.event.TreeModelEvent) : Void;
	private var nodeDimensions : NodeDimensions;
	private var rootVisible : Bool;
	private var treeModel : TreeModel;
	private var treeSelectionModel : TreeSelectionModel;
	private function countNodeDimensions(p0 : Dynamic, p1 : Int, p2 : Int, p3 : Bool, p4 : org.aswing.geom.IntRectangle) : org.aswing.geom.IntRectangle;
}
